﻿using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace DataBase.Main
{

	[JsonObject(MemberSerialization.OptIn), Table(Name = "t_smsStatus", DisableSyncStructure = true)]
	public partial class TSmsStatus {

		/// <summary>
		/// 主键唯一标识Id
		/// </summary>
		[JsonProperty, Column(IsPrimary = true, IsIdentity = true)]
		public long Id { get; set; }

		/// <summary>
		/// 数据录入时间
		/// </summary>
		[JsonProperty]
		public DateTime? CreateTime { get; set; }

		/// <summary>
		/// 设备Id十进制形式
		/// </summary>
		[JsonProperty, Column(Name = "deviceId")]
		public long? DeviceId { get; set; }

		[JsonProperty, Column(Name = "fromName", StringLength = -2)]
		public string FromName { get; set; }

		/// <summary>
		/// 发送平台
		/// </summary>
		[JsonProperty, Column(Name = "platform")]
		public long? Platform { get; set; }

		/// <summary>
		/// 发送用户手机号
		/// </summary>
		[JsonProperty, Column(Name = "sendUser", StringLength = 20)]
		public string SendUser { get; set; }

		/// <summary>
		/// 短信内容
		/// </summary>
		[JsonProperty, Column(Name = "smsContent", StringLength = -2)]
		public string SmsContent { get; set; }

		/// <summary>
		/// 总段ID
		/// </summary>
		[JsonProperty, Column(StringLength = -2)]
		public string TerminalId { get; set; }

	}

}
